package com.baox.agridata.synchronous.controller;


import com.baox.agridata.synchronous.schedule.LocalPushDataToAgriculturalEarTag;
import com.baox.agridata.synchronous.schedule.LocalPushDataToAgriculturalOtherInfo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
@Slf4j
public class TestController {


    @Autowired
    private LocalPushDataToAgriculturalOtherInfo localPushDataToAgriculturalOtherInfo;


    @GetMapping("/test1")
    public void test1() {
        localPushDataToAgriculturalOtherInfo.PigSlaughteringCompanyTask();
    }


    @GetMapping("/test2")
    public void test2() {
        localPushDataToAgriculturalOtherInfo.CheckPointTask();
    }


    @GetMapping("/test3")
    public void test3() {
        localPushDataToAgriculturalOtherInfo.synchronizationMcJczsAtt();
    }


    @GetMapping("/test4")
    public void test4() {
        localPushDataToAgriculturalOtherInfo.TrafficAsyncTask();
    }


    @GetMapping("/test5")
    public void test5() {
        localPushDataToAgriculturalOtherInfo.VeterinarySocialOrganizationToDepartment();
    }


    @GetMapping("/test6")
    public void test6() {
        localPushDataToAgriculturalOtherInfo.LivestockMarketToDepartment();
    }


    @GetMapping("/test7")
    public void test7() {
        localPushDataToAgriculturalOtherInfo.IsolationToDepartment();
    }



    @GetMapping("/test8")
    public void test8() {
        localPushDataToAgriculturalOtherInfo.SlaughterHouseTask();
    }


    @GetMapping("/test9")
    public void test9() {
        localPushDataToAgriculturalOtherInfo.FarmCompanyTask();
    }

    @GetMapping("/test10")
    public void test10() {
        System.out.println("要走了");
        localPushDataToAgriculturalOtherInfo.FarmPersonTask();
    }


    @GetMapping("/test11")
    public void test11() {
        localPushDataToAgriculturalOtherInfo.synchronizationJczGzjls();
    }


    //===============耳标

    @Autowired
    private LocalPushDataToAgriculturalEarTag localPushDataToAgriculturalEarTag;


    @GetMapping("/test12")
    public void test12() {
        localPushDataToAgriculturalEarTag.getZsApplyData();
    }


    @GetMapping("/test13")
    public void test13() {
        localPushDataToAgriculturalEarTag.getZsAbpDataDownLoad();
    }



    @GetMapping("/test14")
    public void test14() {
        localPushDataToAgriculturalEarTag.sendZsReturnsData();
    }



    @GetMapping("/test15")
    public void test15() {
        localPushDataToAgriculturalEarTag.assembleTIMMUNEEarTagRecordData();
    }






}
